﻿#if SILVERLIGHT

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace AdRotator.Common
{
    public interface IAdProviderNotManipulatingVisualTree
    {
        /// <summary>
        /// Creates a new ad control and returns it
        /// </summary>
        /// <returns>The created ad control that can be inserted into the visual tree or null if it can't be
        ///     created or an error has occured</returns>
        FrameworkElement CreateAd();
    }
}

#endif
